﻿@{
    ViewBag.Title = "ContractsIndex";
    Layout = "~/Views/Shared/ShouYe.cshtml";
}
@model List<UI.ServiceReference1.Contracts>
<script src="~/BootstrapSouce/js/jquery.min.js"></script>
<link href="~/BootstrapSouce/css/bootstrap.min.css" rel="stylesheet" />
<script src="~/BootstrapSouce/js/bootstrap.min.js"></script>
<a href="/XBK/ContractsAdd"><input id="Button1" type="button" value="添加员工合同" /></a>
<h2>合同管理</h2>
<table class="table table-bordered table-hover definewidth m10">
    <tr>
        <td>编号</td>
        <td>合同相关人</td>
        <td>合同开始时间</td>
        <td>合同结束时间</td>
        <td>操作</td>
    </tr>
   
        @foreach (var item in Model)
        {
            <tr>
                <td>@item.Contracts_ID</td>
                <td>@item.Staff_Name</td>
                <td>@item.Startdate</td>
                <td>@item.Deadline</td>
                <td><a href="/XBK/ContractsFT/@item.Contracts_ID">查看详情</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;<a href="#">删除</a></td>
            </tr>
        }
      
</table>
